{{extend "head.html"}}



{{block content}}
<div class="row">
 <div class="span4 well">
    <ul id="site" class="ztree"></ul>
 </div>

    <div class="span6 well">
	
		{{<<form}}
     </div>


</div> <!--row-->



{{end}}


{{block js_script}}

    {{include "inc_xheditor_plugins.html"}}
    <script type="text/javascript">
    $(function(){
    $('textarea').xheditor({
    tools:'Cut,Copy,Paste,Pastetext,|,Blocktag,Fontface,FontSize,Bold,Italic,Underline,Strikethrough,FontColor,BackColor,SelectAll,Removeformat,|,Align,List,Outdent,Indent,|,Link,Unlink,Anchor,Img,Flash,Hr,Emot,Table,Code,Quote,|,About',
    skin:'default',
    upFlashExt:"swf",
    plugins:plugins,
    height:300,
    width:600,
    });
    });
    </script>
<SCRIPT LANGUAGE="JavaScript">
    var setting = {
            data:{
                simpleData:{
                    enable:true,
                    idKey:'id',
                    pIdKey:'pId'
                    }
                },
            async:{
                enable:true,
                url:"/getdatatree"
                }
    };

    $(document).ready(function(){
        $.fn.zTree.init($("#site"), setting);
    });

</SCRIPT>

{{end}}

